package com.zhiyou100.dao;

import java.util.ArrayList;

import com.zhiyou100.model.Discuss;

public interface DiscussDao {
	
	//根据项目id分页查询所有项目评论并分页
	 ArrayList<Discuss> getAllByProjectId(Integer projectId,Integer x,Integer y);
	
	//添加评论
	void addAllByProjectIdAndUserId(Discuss discuss);
	
	int discussCount(Integer projectId);
	

}
